{include file=top.html} 
<script type="text/javascript">
$(function(){
	$("img.lazyload").lazyLoad();
	
	/* 首页轮播 */
	if($('#slide').children('li').length>1){
		$('#slide').slidesjs({
			width: 320,
			height: 120,
			navigation: false,
			play: {
				auto: true
			}
		});
	}
	$('.fake-search-box').find('input').click(function(){
		window.location.href = REAL_SITE_URL+'/index.php?app=search&act=form';
	})
})
</script>
<div id="page-index" class="page J_page derect-left">
	<div id="main"> 
		<!--common bar start-->
		<div class="bar-wrap">
			<div style="line-height:30px;" class="top-bar"> 
            	<a href="javascript:;" onclick="PsmobanShowMenu('left');" class="category"><span></span></a>
				<h2 class="yahei">{$site_title}</h2>
				<a href="javascript:;" class="pagemore J_pagemore"><span></span></a>
            </div>
            <div class="eject-tab J_eject_tab w-full clearfix hidden">
			<a href="{$mobile_site_url}"> <span></span><p>首页</p></a>
			<a href="{url app=search}"> <span class="icon2"></span><p>分类搜索</p></a>
			<a href="{url app=cart}"> <span class="icon3"></span><p>购物车</p></a>
			<a href="{url app=member}"> <span class="icon4"></span><p>用户中心</p></a>
		</div>
		</div>
		<!--common bar end-->
		<!-----------------首页幻灯----------------------->
        <div class="slides">
        	<ul id="slide" class="scroller" > 
                <!--{foreach from=$slides item=slide name=fe_slide}-->
                <!--{if $slide.ad_image_url && $slide.ad_link_url}-->
                <li> <a href='{$slide.ad_link_url}'><img src="{$slide.ad_image_url}" /></a> </li>
                <!--{/if}-->
                <!--{/foreach}--> 
            </ul>
        </div>
        <!------------------end-------------------------->
        <!------------------点击后显示真正的搜索框----------->
        <div class="fake-search-box margin10 mt20">
           <div class="input-wraper">
              <p class="input-child-wraper"><input class="text-input" placeholder="请输入你要搜索的商品名称"  /></p>
              <input type="button" class="fake-submit" value="" />
          </div>
        </div>
        <!------------------end-------------------------->
		<!------------------功能菜单列表------------------->
        <div class="memnus-list pl10 mb10">
           <ul class="clearfix">
            	<li>
                    <a href="{url app=category}">
                       <p><img src="mobile/static/images/home-icon-category.png" /></p>
                       <p>商品分类</p>
                    </a>
                </li>
                <li>
                    <a href="{url app=member}">
                        <p><img src="mobile/static/images/home-icon-member-center.png" /></p>
                        <p>用户中心</p>
                    </a>
                </li>
                <li>
                   <a href="{url app=member}">
                       <p><img src="mobile/static/images/home-icon-order.png" /></p>
                       <p>我的订单</p>
                   </a>
                </li>
                <li>
                    <a href="{url app=my_coupon}">
                       <p><img src="mobile/static/images/home-icon-member-collect.png" /></p>
                       <p>优惠券</p>
                   </a>
                </li>
                <li>
                   <a href="{url app=category&act=store}">
                        <p><img src="mobile/static/images/home-icon-category-store.png" /></p>
                        <p>店铺分类</p>
                   </a>
                </li>
                <li>
                   <a href="{url app=deposit}">
                      <p><img src="mobile/static/images/home-icon-doposit.png" /></p>
                      <p>我的钱包</p>
                   </a>
                </li>
                <li>
                   <a href="{url app=cart}">
                       <p><img src="mobile/static/images/home-icon-cart.png" /></p>
                       <p>购物车</p>
                   </a>
                </li>
                <li>
                    <a href="{url app=article&code=help}">
                        <p><img src="mobile/static/images/home-icon-help.png" /></p>
                        <p>帮助中心</p>
                    </a>
                </li>
            </ul>
        </div>
        <!------------------end-------------------------->
		<div class="floor floor1 J_Floor">
			<div class="content clearfix">
				<div class="col-1 relative">
					<a href="{$floor_1.ads.1.ad_link_url}"><img src="{$floor_1.ads.1.ad_image_url}" /></a>
					
				</div>
				<div class="col-2">
					<div class="border-left"> <a href="{$floor_1.ads.2.ad_link_url}" class="border-bottom"><img src="{$floor_1.ads.2.ad_image_url}"  /></a> <a href="{$floor_1.ads.3.ad_link_url}"><img src="{$floor_1.ads.3.ad_image_url}" /></a> </div>
				</div>
			</div>
		</div>
		<div class="labels clearfix"> 
			<!--{foreach from=$floor_1.keywords item=kw1 }--> 
			<span><a href="{$kw1.link}" class="yahei" res="1">{$kw1.title|escape}</a></span> 
			<!--{/foreach}--> 
		</div>
		<div class="floor floor2  J_Floor">
			<div class="title yahei">{$floor_2.model_name|escape}</div>
			<div class="content clearfix">
				<div class="col-1"><a href="{$floor_2.ads.1.ad_link_url}"><img src="{res file=images/empty.gif}"  class="lazyload" initial-url="{$floor_2.ads.1.ad_image_url}" /></a></div>
				<div class="col-2">
					<div class="border-left"> <a href="{$floor_2.ads.2.ad_link_url}" class="border-bottom"><img src="{res file=images/empty.gif}"  class="lazyload" initial-url="{$floor_2.ads.2.ad_image_url}"  /></a> <a href="{$floor_2.ads.3.ad_link_url}"><img src="{res file=images/empty.gif}"  class="lazyload" initial-url="{$floor_2.ads.3.ad_image_url}" /></a> </div>
				</div>
			</div>
			<div class="labels clearfix"> 
				<!--{foreach from=$floor_2.keywords item=kw2 }--> 
				<span><a href="{$kw2.link}" class="yahei" res="1">{$kw2.title|escape}</a></span> 
				<!--{/foreach}--> 
			</div>
		</div>
		<div class="floor floor3  J_Floor">
			<div class="title yahei">{$floor_3.model_name|escape}</div>
			<div class="content clearfix">
				<div class="col-1">
					<div class="border-right"> <a href="{$floor_3.ads.1.ad_link_url}"><img src="{res file=images/empty.gif}"  class="lazyload" initial-url="{$floor_3.ads.1.ad_image_url}" /></a><a href="{$floor_3.ads.2.ad_link_url}" class="border-top"><img src="{res file=images/empty.gif}"  class="lazyload" initial-url="{$floor_3.ads.2.ad_image_url}" /></a> </div>
				</div>
				<div class="col-2"> <a href="{$floor_3.ads.3.ad_link_url}"><img src="{res file=images/empty.gif}"  class="lazyload" initial-url="{$floor_3.ads.3.ad_image_url}" /></a> </div>
			</div>
		</div>
		<div class="labels clearfix"> 
			<!--{foreach from=$floor_3.keywords item=kw3 }--> 
			<span><a href="{$kw3.link}" class="yahei" res="1">{$kw3.title|escape}</a></span> 
			<!--{/foreach}--> 
		</div>
		<div class="floor floor4  J_Floor">
			<div class="title yahei">{$floor_4.model_name|escape}</div>
			<div class="content clearfix">
				<div class="col-1"><a href="{$floor_4.ads.1.ad_link_url}"><img src="{res file=images/empty.gif}"  class="lazyload" initial-url="{$floor_4.ads.1.ad_image_url}" /></a></div>
				<div class="col-2">
					<div class="border-left"> <a href="{$floor_4.ads.2.ad_link_url}" class="border-bottom"><img src="{res file=images/empty.gif}"  class="lazyload" initial-url="{$floor_4.ads.2.ad_image_url}" /></a><a href="{$floor_4.ads.3.ad_link_url}"><img src="{res file=images/empty.gif}"  class="lazyload" initial-url="{$floor_4.ads.3.ad_image_url}" /></a></div>
				</div>
			</div>
		</div>
		<div class="labels clearfix"> 
			<!--{foreach from=$floor_4.keywords item=kw4 }--> 
			<span><a href="{$kw4.link}" class="yahei" res="1">{$kw4.title|escape}</a></span> 
			<!--{/foreach}--> 
		</div>
		<div class="floor floor5  J_Floor">
			<div class="title yahei">{$floor_5.model_name|escape}</div>
			<div class="content clearfix">
				<div class="col-1"><a href="{$floor_5.ads.1.ad_link_url}"><img src="{res file=images/empty.gif}"  class="lazyload" initial-url="{$floor_5.ads.1.ad_image_url}" /></a></div>
				<div class="col-2">
					<div class="border-left"> <a href="{$floor_5.ads.2.ad_link_url}" class="border-bottom"><img src="{res file=images/empty.gif}"  class="lazyload" initial-url="{$floor_5.ads.2.ad_image_url}" /></a><a href="{$floor_5.ads.3.ad_link_url}"><img src="{res file=images/empty.gif}"  class="lazyload" initial-url="{$floor_5.ads.3.ad_image_url}" /></a></div>
				</div>
			</div>
		</div>
		<div class="labels clearfix"> 
			<!--{foreach from=$floor_5.keywords item=kw5 }--> 
			<span><a href="{$kw5.link}" class="yahei" res="1">{$kw5.title|escape}</a></span> 
			<!--{/foreach}--> 
		</div>
		<ul class="theme clearfix">
			<!--{foreach from=$six_images item=six_image name=fe_six_image}-->
			<li><a  href="{$six_image.ad_link_url}"><img src="{res file=images/empty.gif}"  class="lazyload" initial-url="{$six_image.ad_image_url}" /></a></li>
			<!--{/foreach}-->
		</ul>
		<div class="global-image-ads"><a href="{$banner.ad_link_url}"><img src="{res file=images/empty.gif}"  class="lazyload" initial-url="{$banner.ad_image_url}" /></a></div>
        <div class="bottom-search">
        	<div class="search-box">
            	<form method="get">
                	<input type="hidden" name="app" value="search" />
                    <div class="wraper"><input name="keyword" type="text" value="" placeholder="" /></div>
                    <input type="submit" value="" />
                </form>
            </div>
        	<a href="index.php" class="home-icon"></a>
            <a href="javascript:scroll(0,0);" class="back-top"></a>
        </div>
	</div>
</div>
<!------------------------左侧弹出的分类----------------------------->
<div class="J_masker masker" onclick="PsmobanShowMenu('left');"></div>
<div class="J_menus menus home-category">
	<ul>
    	<!--{foreach from=$header_gcategories.gcategories item=gcate}-->
    	<li>
        	<a href="{url app=search&cate_id=$gcate.id}" class="arrow"></a>
            <a href="{url app=search&cate_id=$gcate.id}" class="title">{$gcate.value}</a>
        </li>
        <!--{/foreach}-->
    </ul>
</div>
<!-----------------------------end----------------------------------->
{include file=footer.html}